<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>linux-manjaro | 学习笔记</title><meta name="author" content="lzoxun"><meta name="copyright" content="lzoxun"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="操作常用功能 输出系统基本信息:sudo screenfetch 强制关机:sudo shutdown now 升级系统:sudo pacman -Syyu 显示文件系统的磁盘使用情况:sudo df -h 或 sudo df -hT  快捷健 设置快捷（设置-键盘-应用与快捷健-添加选择程序-确定-选择键位）  xfce4-terminal：终端串口; 我的设置：win+shift+T xflo">
<meta property="og:type" content="article">
<meta property="og:title" content="linux-manjaro">
<meta property="og:url" content="http://example.com/2023/07/22/linux/linux-manjaro/index.html">
<meta property="og:site_name" content="学习笔记">
<meta property="og:description" content="操作常用功能 输出系统基本信息:sudo screenfetch 强制关机:sudo shutdown now 升级系统:sudo pacman -Syyu 显示文件系统的磁盘使用情况:sudo df -h 或 sudo df -hT  快捷健 设置快捷（设置-键盘-应用与快捷健-添加选择程序-确定-选择键位）  xfce4-terminal：终端串口; 我的设置：win+shift+T xflo">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png">
<meta property="article:published_time" content="2023-07-22T07:14:09.680Z">
<meta property="article:modified_time" content="2023-07-22T07:14:09.680Z">
<meta property="article:author" content="lzoxun">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/2023/07/22/linux/linux-manjaro/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"top_n_per_article":1,"unescape":true,"languages":{"hits_empty":"找不到您查询的内容：${query}","hits_stats":"共找到 ${hits} 篇文章"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'linux-manjaro',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-07-22 15:14:09'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const now = new Date()
          const hour = now.getHours()
          const isNight = hour <= 6 || hour >= 18
          if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
          else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><script>(()=>{
  const $loadingBox = document.getElementById('loading-box')
  const $body = document.body
  const preloader = {
    endLoading: () => {
      $body.style.overflow = ''
      $loadingBox.classList.add('loaded')
    },
    initLoading: () => {
      $body.style.overflow = 'hidden'
      $loadingBox.classList.remove('loaded')
    }
  }

  preloader.initLoading()
  window.addEventListener('load',() => { preloader.endLoading() })

  if (false) {
    document.addEventListener('pjax:send', () => { preloader.initLoading() })
    document.addEventListener('pjax:complete', () => { preloader.endLoading() })
  }
})()</script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header"><nav id="nav"><span id="blog-info"><a href="/" title="学习笔记"><span class="site-name">学习笔记</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">linux-manjaro</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2023-07-22T07:14:09.680Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-07-22T07:14:09.680Z" title="更新于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="linux-manjaro"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h2 id="操作"><a href="#操作" class="headerlink" title="操作"></a>操作</h2><h3 id="常用功能"><a href="#常用功能" class="headerlink" title="常用功能"></a>常用功能</h3><ul>
<li>输出系统基本信息:<code>sudo screenfetch</code></li>
<li>强制关机:<code>sudo shutdown now</code></li>
<li>升级系统:<code>sudo pacman -Syyu</code></li>
<li>显示文件系统的磁盘使用情况:<code>sudo df -h 或 sudo df -hT</code></li>
</ul>
<h3 id="快捷健"><a href="#快捷健" class="headerlink" title="快捷健"></a>快捷健</h3><ul>
<li><p>设置快捷（设置-键盘-应用与快捷健-添加选择程序-确定-选择键位）</p>
<ul>
<li><code>xfce4-terminal</code>：终端串口; 我的设置：<code>win+shift+T</code></li>
<li><code>xflock</code>：锁定; 我的设置：<code>ctrl+alt+delete</code></li>
</ul>
</li>
<li><p>终端</p>
<ul>
<li><code>shift+ctrl+C</code>：复制</li>
<li><code>shift+ctrl+P</code>：粘贴</li>
<li><code>shift+ctrl+E</code>：在终端中打开新终端</li>
<li><code>shift+ctrl+T</code>：打开标签页</li>
</ul>
</li>
<li><p>界面窗口</p>
<ul>
<li>系统快捷健（设置-窗口管理器-快捷健）<ul>
<li><code>win+D</code> ：回到桌面</li>
</ul>
</li>
<li>系统窗口<ul>
<li><code>ctrl+alt+f</code>：文件管理器</li>
<li><code>alt+F1</code>：系统菜单</li>
<li><code>alt+F2</code>：应用程序查找器</li>
<li><code>ctrl+alt+m</code>：任务管理器</li>
<li><code>xfce4-settings-manager</code>：设置</li>
<li><code>ctrl+esc</code>：右键菜单</li>
</ul>
</li>
<li><code>exo-open path</code>：<code>xfce</code>图形界面打开指定文件夹</li>
</ul>
</li>
</ul>
<h2 id="manjaro-的指令"><a href="#manjaro-的指令" class="headerlink" title="manjaro 的指令"></a>manjaro 的指令</h2><ul>
<li><p><code>pacman</code>:自带包管理工具</p>
<ul>
<li><p><code>-S</code>:安装</p>
</li>
<li><p><code>-Ss</code>:搜索</p>
</li>
<li><p><code>-Syy</code>:更改&#x2F;etc&#x2F;pacman.conf 添加源后 ，更新软件包数据库</p>
</li>
<li><p><code>-Syu</code>:更改系统本身</p>
</li>
<li><p><code>-Sc</code>:清除缓存</p>
</li>
<li><p><code>-Scc</code>:清除已下载的安装包</p>
</li>
<li><p><code>R</code>:删除服务,不能停顿太久</p>
</li>
<li><p><code>Rs</code>:删除服务，以及相关依赖</p>
</li>
<li><p><code>Rns</code>:删除服务，以及相关依赖,以及全局变量</p>
</li>
<li><p><code>Q</code>:查询已安装程序</p>
</li>
<li><p><code>Qe</code>:查询自己安装的程序</p>
</li>
<li><p><code>Qeq</code>:查询自己安装的程序（不显示版本号）</p>
</li>
<li><p><code>Qs key</code>:查询本地名字有 key 的程序</p>
</li>
<li><p><code>Qdt</code>:不需要的软件</p>
</li>
<li><p><code>pacman -R $(pacman -Qdtq)</code>:删除不需要的软件，最后 q 去除版本号</p>
</li>
<li><p><code>whereis name</code> 查询程序安装位置</p>
</li>
</ul>
</li>
<li><p><code>/etc/pacman.conf</code>:pacman 配置文件 添加源,</p>
<ul>
<li><code>Color</code>:设置高亮变色</li>
</ul>
</li>
</ul>
<h2 id="新机配置"><a href="#新机配置" class="headerlink" title="新机配置"></a>新机配置</h2><h3 id="配置源"><a href="#配置源" class="headerlink" title="配置源"></a>配置源</h3><ul>
<li>配置镜像源<ul>
<li><code>sudo pacman-mirrors -i -c China -m rank</code> :存在&#x2F;etc&#x2F;pacman.d&#x2F;mirrorlist</li>
</ul>
</li>
<li>设置 archlinuxcn 源,antergos 源,arch4edu 源:<code>sudo vi /etc/pacman.conf</code></li>
</ul>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">[archlinuxcn]</span><br><span class="line">SigLevel = Optional TrustedOnly</span><br><span class="line">Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch</span><br><span class="line">Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch</span><br><span class="line"></span><br><span class="line">[antergos]</span><br><span class="line">SigLevel = TrustAll</span><br><span class="line">Server = https://mirrors.tuna.tsinghua.edu.cn/antergos/$repo/$arch</span><br><span class="line"></span><br><span class="line">[arch4edu]</span><br><span class="line">SigLevel = TrustAll</span><br><span class="line">Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">sudo pacman -Sy #安装 archlinuxcn、antergos、arch4edu</span><br></pre></td></tr></table></figure>

<ul>
<li><p>更新源列表</p>
<ul>
<li>sudo pacman-mirrors -g</li>
</ul>
</li>
<li><p>同步并优化（类似磁盘整理，固态硬盘无需操作）</p>
<ul>
<li>sudo pacman-optimize &amp;&amp; sync</li>
</ul>
</li>
<li><p>升级系统</p>
<ul>
<li>sudo pacman -Syyu</li>
</ul>
</li>
<li><p>导入 GPG Key</p>
<ul>
<li>sudo pacman -S archlinuxcn-keyring</li>
<li>sudo pacman -S antergos-keyring</li>
</ul>
</li>
<li><p>安装 <code>ARU </code>包管理工具</p>
<ul>
<li><p><code>sudo pacman -S yay fakeroot binutils</code> yay 与需要用到的包基本工具不然最后肯会报错</p>
</li>
<li><p><code>yay --aururl &quot;https://aur.tuna.tsinghua.edu.cn&quot; --save</code> #这一句会被添加到&#x2F;.config&#x2F;yay&#x2F;config.json</p>
</li>
<li><p><code>yay -P -g</code></p>
</li>
<li><p>安装谷歌</p>
<ul>
<li><code>yay -S google-chrome</code></li>
</ul>
</li>
</ul>
</li>
</ul>
<h3 id="搜狗输入法"><a href="#搜狗输入法" class="headerlink" title="搜狗输入法"></a>搜狗输入法</h3><ul>
<li>fcitx</li>
<li>fcitx-configtool</li>
<li>fcitx-sogoupinyin</li>
<li>配置文件<ul>
<li>添加输入法配置文件 sudo vim ~&#x2F;.xprofile</li>
<li>export GTK_IM_MODULE&#x3D;fcitx</li>
<li>export QT_IM_MODULE&#x3D;fcitx</li>
<li>export XMODIFIERS&#x3D;”@im&#x3D;fcitx”</li>
</ul>
</li>
</ul>
<h3 id="oh-my-zsh-终端美化"><a href="#oh-my-zsh-终端美化" class="headerlink" title="oh-my-zsh 终端美化"></a>oh-my-zsh 终端美化</h3><ul>
<li>基本配置<ul>
<li>查看本地 <code>/etc/shells</code> 是否有 zsh (没有就安装)</li>
<li>安装 <code>ohmyzsh</code><ul>
<li>centos 安装<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">wget https://gitee.com/heyuanfly/install-oh-my-zsh/raw/master/centos-install-oh-my-zsh.sh</span><br><span class="line">chmod +x centos-install-oh-my-zsh.sh</span><br><span class="line">./centos-install-oh-my-zsh.sh</span><br></pre></td></tr></table></figure></li>
<li>官方源码安装<ul>
<li><code>wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh</code></li>
<li><code>sh install.sh</code> 如果.zshrc 有改动，需要先备份，可能会自动覆盖掉原有的.zshrc</li>
</ul>
</li>
</ul>
</li>
<li>根据提示将 .zshrc 复制到本地 ~&#x2F;.zshrc</li>
<li>将 shell 切换到 &#x2F;bin&#x2F;zsh <code>chsh -s /bin/zsh</code></li>
<li>重启</li>
<li>source ~&#x2F;.zshrc</li>
</ul>
</li>
<li>主题<ul>
<li>.zshrc 中 ZSH_THEME&#x3D;”主题名称”</li>
<li>主题都在 <code>/usr/share/oh-my-zsh/theme</code>下</li>
<li>推荐主题:<code>duellj</code>、<code>suvash</code>、<code>xiong-chiamiov</code>、<code>pygmalion</code>、<code>fino</code>、<code>steeef</code>、<code>ys</code>,<code>norm</code></li>
</ul>
</li>
<li>zsh vi 模式(使用 vim 快捷键)<ul>
<li>.zshrc 添加 bindkey -v</li>
</ul>
</li>
<li><a target="_blank" rel="noopener" href="https://github.com/romkatv/powerlevel10k/blob/master/README.md#oh-my-zsh">插件扩展 powerlevel10k</a><ul>
<li><code> sudo git clone https://github.com/romkatv/powerlevel10k.git /usr/share/powerlevel10k</code></li>
<li><code>p10k configure</code>:第一次需要配置，这样重新配置</li>
</ul>
</li>
<li>命令行高亮<ul>
<li>yay -S zsh-syntax-highlighting zsh-autosuggestions 或 github 下载</li>
<li>如果不生效<ul>
<li>sudo ln -s &#x2F;usr&#x2F;share&#x2F;zsh&#x2F;plugins&#x2F;zsh-syntax-highlighting &#x2F;usr&#x2F;share&#x2F;oh-my-zsh&#x2F;custom&#x2F;plugins&#x2F;</li>
<li>sudo ln -s &#x2F;usr&#x2F;share&#x2F;zsh&#x2F;plugins&#x2F;zsh-autosuggestions &#x2F;usr&#x2F;share&#x2F;oh-my-zsh&#x2F;custom&#x2F;plugins&#x2F; （zsh-autosuggestions 放入.zshrc plugins 中）</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3 id="安装程序"><a href="#安装程序" class="headerlink" title="安装程序"></a>安装程序</h3><ul>
<li>源码安装程序<ul>
<li><code>解压包</code>、进入目录执行<code>./configure</code> 检测、<code>make&amp;&amp;make install</code></li>
</ul>
</li>
<li>安装 bed 程序<br>yay -S debtap sh ~&#x2F;.vim_runtime&#x2F;install_awesome_vimrc.sh#安装包<br>sudo debtap -u #升级<br>sudo debtap xxxx.deb #解压<br>#debtap -q xxx.deb #静默解压<br>sudo pacman -U x.tar.xz #安装</li>
</ul>
<h3 id="wifi-设置"><a href="#wifi-设置" class="headerlink" title="wifi 设置"></a>wifi 设置</h3><ul>
<li>iw dev 查看 interface 后面无线网卡名</li>
<li>安装 create_ap</li>
<li>rm -f &#x2F;tmp&#x2F;create_ap.all.lock</li>
<li>sudo create_ap 无线网卡名 无线网卡名 热点名 热点密码</li>
<li></li>
</ul>
<h3 id="与-window-共享"><a href="#与-window-共享" class="headerlink" title="与 window 共享"></a>与 window 共享</h3><ul>
<li>安装: <code>cifs-utils</code></li>
<li>共享: window 新建共享文件夹-&gt;高级共享中设置<code>共享名称</code> -&gt; 权限给予<code>读写执行</code></li>
<li>挂载: mount -t cifs -o username&#x3D;”Administrator”,password&#x3D;”1” &#x2F;&#x2F;192.168.12.40&#x2F;nmon &#x2F;mnt&#x2F;share<ul>
<li>mount -t cifs -o username&#x3D;”win 用户名”,password&#x3D;”密码” &#x2F;&#x2F;win ip&#x2F;共享名称 挂载目录</li>
<li>ls &#x2F;mnt&#x2F;share 查看共享文件</li>
</ul>
</li>
<li>自动挂载 <code>/etc/fstab</code><ul>
<li>&#x2F;&#x2F;192.168.12.40&#x2F;nmon &#x2F;mnt&#x2F;share cifs defaults,username&#x3D;名字,password&#x3D;你的密码</li>
<li>&#x2F;&#x2F;192.168.3.24&#x2F;共享文件 &#x2F;mnt&#x2F;window cifs defaults,username&#x3D;!·ujcliaozx,password&#x3D;ujcliaozx123</li>
</ul>
</li>
</ul>
<h3 id="外接设备"><a href="#外接设备" class="headerlink" title="外接设备"></a>外接设备</h3><p>接入第二块移动硬盘后，系统多出 <code>/dev/sdb</code><br>先界面双击访问多出来的硬盘后<br><code>df -h</code> 可以看到插入 usb 后自动挂载到 <code>/run/media/UserName/DiskName</code></p>
<p>如果要手动挂载的话 xxxx<br><code>mount -t ntfs /dev/sdb1 /mydata/data</code></p>
<p>wsl 挂载 ，E 替换成外接设备的盘符<br><code>sudo mount -t drvfs E: /mnt/WD-Elements</code></p>
<h3 id="启动项"><a href="#启动项" class="headerlink" title="启动项"></a>启动项</h3><ul>
<li>将 desktop 放到~&#x2F;.config&#x2F;autostart 、</li>
<li>开机黑色问题<ul>
<li><code>/etc/default/grub</code><ul>
<li>注释 hidden 那一行</li>
<li>去除下面的 quiet</li>
</ul>
</li>
<li><code>update-grup</code>:跟新</li>
</ul>
</li>
</ul>
<h3 id="快捷服务"><a href="#快捷服务" class="headerlink" title="快捷服务"></a>快捷服务</h3><ul>
<li><code>node-fanyi</code>:终端翻译</li>
<li><code>Typora</code>:Markdown 编辑器</li>
</ul>
<h3 id="全局菜单"><a href="#全局菜单" class="headerlink" title="全局菜单"></a>全局菜单</h3><ul>
<li>vala-panel-appmenu-common</li>
<li>vala-panel-appmenu-registrar</li>
<li>vala-panel-appmenu-xfce</li>
<li>appmenu-gtk-module(我没有装)</li>
<li>状态面板首选项-项目-添加全局菜单-重启</li>
<li>xfconf-query -c xsettings -p &#x2F;Gtk&#x2F;ShellShowsMenubar -n -t bool -s true</li>
<li>xfconf-query -c xsettings -p &#x2F;Gtk&#x2F;ShellShowsAppmenu -n -t bool -s true</li>
</ul>
<h3 id="Albert-搜索插件"><a href="#Albert-搜索插件" class="headerlink" title="Albert 搜索插件"></a>Albert 搜索插件</h3><ul>
<li>安装</li>
<li>勾选 Autostart on login 自动登录</li>
<li>第一项就是快捷键</li>
</ul>
<h3 id="添加主题"><a href="#添加主题" class="headerlink" title="添加主题"></a>添加主题</h3><ul>
<li>WhiteSur<ul>
<li><code>WhiteSur-Gtk-theme</code>:主题</li>
<li><code>WhiteSur-icon-theme</code>:图标</li>
<li><code>WhiteSur-cursors</code>:指针</li>
</ul>
</li>
<li>安装成功 “开始菜单–&gt;设置管理-&gt;外观设置” 中选择</li>
</ul>
<h3 id="screenfetch"><a href="#screenfetch" class="headerlink" title="screenfetch"></a>screenfetch</h3><ul>
<li>CentOS screenfetch<br>cd &#x2F;usr&#x2F;local&#x2F;src<br>git clone <a target="_blank" rel="noopener" href="https://github.com/KittyKatt/screenFetch.git">https://github.com/KittyKatt/screenFetch.git</a><br>git clone <a target="_blank" rel="noopener" href="https://github.com/liaozhongxun/screenFetch.git">https://github.com/liaozhongxun/screenFetch.git</a><br>cp screenFetch&#x2F;screenfetch-dev &#x2F;usr&#x2F;local&#x2F;bin&#x2F;screenfetch<br>chmod 755 &#x2F;usr&#x2F;local&#x2F;bin&#x2F;screenfetch</li>
</ul>
<h3 id="fzf-全局搜索插件参考"><a href="#fzf-全局搜索插件参考" class="headerlink" title="fzf 全局搜索插件参考"></a>fzf 全局搜索插件<a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/41859976">参考</a></h3><ul>
<li><p>快捷键</p>
<ul>
<li><code>c+n|c+p|鼠标滚轮</code>:上下移动关闭</li>
</ul>
</li>
<li><p>结合 vim</p>
<ul>
<li><p><code>vim $(fzf)</code>：终端直接通过 vim 打开 fzf 搜索到的文件</p>
</li>
<li><p><code>cd $(find * -type d | fzf)</code>：进入 fzf 搜索到的文件夹</p>
</li>
<li><p><code>ranger $(find * -type d | fzf)</code>：ranger 打开 fzf 搜索到的文件夹</p>
</li>
<li><p><code>git checkout $(git branch -r | fzf)</code>:快速切换 git 分枝</p>
</li>
<li><p><code>:Files</code>:搜索文件</p>
<ul>
<li><code>c+jk</code>:上线移动</li>
</ul>
</li>
</ul>
</li>
<li><p>安装 fd-find<a target="_blank" rel="noopener" href="https://github.com/sharkdp/fd">github</a><br>centos 需要原码安装</p>
</li>
</ul>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">wget https://github.com/sharkdp/fd/releases/download/v8.4.0/fd-v8.4.0-aarch64-unknown-linux-gnu.tar.gz</span><br><span class="line">replace 下载相应版本</span><br><span class="line"></span><br><span class="line">tar -zxvf fd-v7.4.0-x86_64-unknown-linux-*.tar.gz</span><br><span class="line">cd fd-v7.4.0-x86_64-unknown-linux-*</span><br><span class="line"></span><br><span class="line">cp ./fd /usr/local/bin/</span><br><span class="line">cp ./fd.1 /usr/local/share/man/man1/</span><br><span class="line">mandb</span><br></pre></td></tr></table></figure>

<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_">#</span><span class="language-bash">界面展示这些参数在 fzf --<span class="built_in">help</span> 中都有，按需配置即可 highlight 预览高亮可能需要安装</span></span><br><span class="line">export FZF_DEFAULT_OPTS=&quot;--border --preview &#x27;(highlight -O ansi &#123;&#125; || cat &#123;&#125;) 3&gt; /dev/null | head -500&#x27;&quot;</span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">fzf查找配安装 fd-find</span></span><br><span class="line">export FZF_DEFAULT_COMMAND=&quot;fdfind --exclude=&#123;.git,.idea,.vscode,.sass-cache,node_modules,build&#125; --type f --hidden&quot;</span><br></pre></td></tr></table></figure>

<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">&quot; fzf#install() 确保你安装了最新的 fzf</span><br><span class="line">Plug &#x27;junegunn/fzf&#x27;, &#123; &#x27;do&#x27;: &#123; -&gt; fzf#install() &#125; &#125;</span><br><span class="line">Plug &#x27;junegunn/fzf.vim&#x27;</span><br></pre></td></tr></table></figure>

<p><a target="_blank" rel="noopener" href="http://einverne.github.io/post/2019/08/fzf-usage.html">资料</a></p>
<ul>
<li>结合 ranger</li>
</ul>
<h3 id="tmux-终端复用"><a href="#tmux-终端复用" class="headerlink" title="tmux 终端复用"></a>tmux 终端复用</h3><p>配置文件：<code>~/.tmux.conf</code></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"></span><br></pre></td></tr></table></figure>

<ul>
<li><p><code>unbind C-b,set-option -g prefix C-c</code>:跟换激活键为 Ctrl+c</p>
</li>
<li><p>跟换分屏键</p>
<ul>
<li>bind h split-windwo -h</li>
<li>bind v split-windwo -v</li>
<li>unbind ‘“‘</li>
<li>unbind %</li>
</ul>
</li>
<li><p>会话</p>
<ul>
<li><code>tmux new -s flask</code> :新建会话</li>
<li><code>ctrl+b</code>:进入激活状态，习惯设置 ctrl+a<ul>
<li>会话快捷键<ul>
<li><code>d</code>:分离会话</li>
<li><code>s</code>:会话列表</li>
<li><code>$</code>:重命名会话</li>
</ul>
</li>
<li>窗口(新建会话进入窗口)<ul>
<li><code>c</code>:新建窗口</li>
<li><code>&amp;</code>:关闭窗口</li>
<li><code>l</code>:切换窗口</li>
<li><code>n</code>:切换下一个窗口</li>
<li><code>p</code>:切换上一个窗口</li>
<li><code>&lt;number&gt;</code>:指定编号窗口</li>
<li><code>w</code>:窗口菜单列表</li>
<li><code>,</code>:重命名窗口</li>
</ul>
</li>
<li>窗格|面板(分屏之后产生窗格)<ul>
<li><code>%</code>:水平分屏</li>
<li><code>&quot; 、-</code>:垂直分屏</li>
<li><code>x</code>:关闭窗格</li>
<li><code>;</code>:切换窗格</li>
<li><code>!</code>:拆为独立窗格,变窗口</li>
<li><code>z</code>:全屏显示窗格,隐藏其他</li>
<li><code>q</code>:窗格编号</li>
<li><code>o</code>:逆时针切换窗格</li>
<li><code>Ctrl+o</code>:把其他窗格切换到当前窗格位置</li>
</ul>
</li>
<li><code>:</code>:输入指令</li>
<li>保存<ul>
<li>激活状态 -&gt; d 关闭会话 -&gt; 任意终端<code>tmux attach -t 会话名称</code>启用</li>
<li>可以多用户共享同时操作</li>
</ul>
</li>
<li><code>Ctrl+d</code>:不用激活，退出并关闭</li>
<li>其他<ul>
<li><code>tmux ls</code>:查看 tmux 列表</li>
<li><code>tmux kill-session -t &lt;session-name&gt;</code>:彻底杀死会话</li>
<li><code>set -g mouse on</code>:允许鼠标操作</li>
<li><code>set -g mode-mouse on</code>:开启鼠标模式</li>
<li><code>set -g mouse-select-pane on</code>:允许鼠标选择窗格</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p>面板</p>
<ul>
<li>分屏之后产生窗格</li>
</ul>
</li>
<li><p>复制粘贴</p>
<ul>
<li><code>ctrl+b+[</code>:进入复制模式，选择内容直接复制</li>
<li><code>ctrl+b+]|c+s+v</code>:粘贴</li>
<li>ctrl+b,[ 进入复制模式，此时可以鼠标选择，松开复制，ctrl+b, ] 粘贴</li>
</ul>
</li>
<li><p>设置窗格大小</p>
<ul>
<li><code>ctrl+b,H J K L</code>,不能停顿太久</li>
</ul>
</li>
</ul>
<h4 id="tmux-插件管理"><a href="#tmux-插件管理" class="headerlink" title="tmux 插件管理"></a>tmux 插件管理</h4><ul>
<li>保存会话</li>
</ul>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">如果没有tpm</span></span><br><span class="line">git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm</span><br><span class="line"></span><br><span class="line">set -g @plugin &#x27;tmux-plugins/tpm&#x27;</span><br><span class="line">set -g @plugin &#x27;tmux-plugins/tmux-resurrect&#x27;</span><br><span class="line">set -g @plugin &#x27;tmux-plugins/tmux-continuum&#x27;</span><br><span class="line"></span><br><span class="line">set -g @continuum-save-interval &#x27;15&#x27;</span><br><span class="line">set -g @continuum-restore &#x27;on&#x27;</span><br><span class="line">set -g @resurrect-capture-pane-contents &#x27;on&#x27;</span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">Other config ...</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">run -b <span class="string">&#x27;~/.tmux/plugins/tpm/tpm&#x27;</span></span></span><br><span class="line"></span><br><span class="line">tmux source ~/.tmux.conf</span><br><span class="line"></span><br><span class="line">PREFIX + I: 安装插件</span><br><span class="line">PREFIX + CTRL s：保存会话</span><br><span class="line">PREFIX + CTRL r：加载会话</span><br></pre></td></tr></table></figure>

<h3 id="seahorse"><a href="#seahorse" class="headerlink" title="seahorse"></a>seahorse</h3><ul>
<li>在终端输入 seahorse 打开管理密钥环的软件，视图-&gt;根据密码环 在密码区会有一个“登录”为名字的密钥环，右击将其删除。<ul>
<li>如果无效:右键默认秘钥环，修改密码，输入旧密码，新密码留空直接继续再继续</li>
</ul>
</li>
</ul>
<h3 id="autojump-快速进入搜索到的目录"><a href="#autojump-快速进入搜索到的目录" class="headerlink" title="autojump 快速进入搜索到的目录"></a>autojump 快速进入搜索到的目录</h3><ul>
<li>必须<code>[[ -s /etc/profile.d/autojump.sh ]] &amp;&amp; source /etc/profile.d/autojump.sh</code>加入.bashrc 中</li>
<li><code>j &lt;dir-name&gt;</code>:模糊匹配，autojump 是基于数据库记录的，只有你敲击有了记录，才能正常使用</li>
<li><code>j --stat|grep key</code>:查看权重</li>
<li><code>jo &lt;dir-name&gt;</code>:在终端直接打开包含 foo 字符串<code>目录</code>的<code>文件管理器</code></li>
<li><code>jc &lt;dir-name&gt;</code>:进入字符串目录的<code>子目录</code></li>
<li><code>joc &lt;dir-name&gt;</code>:进入字符串目录的<code>子目录</code>的<code>文件管理器</code></li>
<li>手动安装（必须先安装好 python）<ul>
<li>git clone <a target="_blank" rel="noopener" href="https://github.com/wting/autojump.git">https://github.com/wting/autojump.git</a></li>
<li>.&#x2F;install.py</li>
<li>按照提示 [[-s ~&#x2F;.autojump&#x2F;etc&#x2F;profile.d&#x2F;autojump.zsh]] &amp;&amp; . ~&#x2F;.autojump&#x2F;etc&#x2F;profile.d&#x2F;autojump.zsh</li>
<li>source .zshrc</li>
</ul>
</li>
<li>缓存数据库位置:<code>~/.local/shart/autojump/autojump.txt</code></li>
</ul>
<h3 id="lazygit"><a href="#lazygit" class="headerlink" title="lazygit"></a>lazygit</h3><p><a target="_blank" rel="noopener" href="http://blog.csdn.net/cumo3681/article/details/107407815">参考</a></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_">#</span><span class="language-bash">手动安装</span></span><br></pre></td></tr></table></figure>

<h4 id="面板-左右或-HL-或-tab-键切换面板"><a href="#面板-左右或-HL-或-tab-键切换面板" class="headerlink" title="面板(左右或 HL 或 tab 键切换面板)"></a>面板(左右或 HL 或 tab 键切换面板)</h4><ul>
<li>面板的切换:左右、HL、tab、12345 等进行面板切换</li>
<li>上线或 JK 切换<code>面板内的行</code></li>
<li>有时候同一个键在不同面板的作用是不一样的</li>
<li>左边面板</li>
<li>右边面板(预览界面)</li>
</ul>
<h4 id="面板一-Status"><a href="#面板一-Status" class="headerlink" title="面板一(Status)"></a>面板一(Status)</h4><ul>
<li>显示库名与分支</li>
</ul>
<h4 id="面板二-Files-文件面板"><a href="#面板二-Files-文件面板" class="headerlink" title="面板二(Files 文件面板)"></a>面板二(Files 文件面板)</h4><ul>
<li><code>a</code>:所以文件在赞成与取消暂存间切换</li>
<li><code>空格</code>：单个文件状态</li>
<li><code>d</code>:删除单文件更改</li>
<li><code>D</code>:第一项 直接清空所以更改</li>
<li>文件内容操作<ul>
<li>上下选择文件<ul>
<li>回车进入文件， 选择需要提交的行，<code>按空格</code>，内容就会从未暂存更改添加到 Status Changes 有赞成面板,双向的</li>
<li><code>e</code>:直接修改选择的文件</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 id="面板三-Local-Branschs-分支面板"><a href="#面板三-Local-Branschs-分支面板" class="headerlink" title="面板三(Local Branschs 分支面板)"></a>面板三(Local Branschs 分支面板)</h4><ul>
<li><code>n</code>:新建分支</li>
<li><code>空格</code>：选择分支</li>
<li><code>o</code>:打开远程项目该分支页面<ul>
<li>将当前选择分支，与 GitHub 远程选择的分支进行比较，</li>
</ul>
</li>
<li>注意事项<ul>
<li>切换分支前将将修改做一次 commit 提交</li>
<li>未追踪的文件,只要没有 commit，本地的那些更改都不会属于哪一个分支，commit 后切换分支，更改才会消失</li>
<li>合并分支<ul>
<li>切换主分支</li>
<li>光标定位到，更改的分支</li>
<li>ctrl+M ,将更改内容合并到组分支</li>
<li>冲突<ul>
<li>文件面板尝试 UU 变色文件</li>
<li>进入文件，选择正确的修改，空格确定</li>
<li>进入文件，b，两个都要保留</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 id="面板四-Commits-提交版本管理"><a href="#面板四-Commits-提交版本管理" class="headerlink" title="面板四(Commits 提交版本管理)"></a>面板四(Commits 提交版本管理)</h4><ul>
<li>选择提交<ul>
<li><code>d</code>:删除提交</li>
<li><code>z + ctrl-z</code>:撤销删除，取回刚刚删除的提交</li>
<li><code>g</code>:选择指定 commit,按 g 重置到此次提交<ul>
<li><code>soft reset</code>：保留修改的文件，并重置到暂存</li>
<li><code>mixed reset</code>：保留修改的文件，并重置位暂存</li>
<li><code>soft reset</code>：直接回到指定提交，不保留文件</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 id="面板五-Status"><a href="#面板五-Status" class="headerlink" title="面板五(Status)"></a>面板五(Status)</h4><h4 id="操作-1"><a href="#操作-1" class="headerlink" title="操作"></a>操作</h4><ul>
<li>普通功能<ul>
<li><code>x|?</code>:显示所在面板区域可以使用的功能以及快捷键</li>
<li><code>+</code>:面板扩展半屏</li>
<li><code>@</code>:显示命令日志(lazygit 操作对应的 git 指令)<ul>
<li>Focus command log:打开指令面板</li>
</ul>
</li>
<li><code>:</code>:自己输入 git 指令，或终端指令</li>
<li><code>[]</code>:切换面板上的标签</li>
</ul>
</li>
<li>提交<ul>
<li>文件面板: a(暂存全部) &#x3D;&gt; c(提交并输入提交备注-&gt; jcommit 面板新增提交记录) &#x3D;&gt; P(push)；p(pull)</li>
</ul>
</li>
<li>配置文件<ul>
<li><code>~/.config/lazygit/config.yml</code></li>
</ul>
</li>
<li>提交更新到别人的项目<ul>
<li>fock 项目</li>
<li>本地克隆，新建分支</li>
<li><code>[]</code>切换分支到 remote</li>
<li><code>n</code>添加远程连接，名称 upstream,地址:fock 前源作者的该项目地址?有点问题</li>
<li>更改完成提交，选择分支 o,打开 create pull request ,打开 GitHub 的 gui 界面合并</li>
<li>提交成功对方界面会出现<code>Compare &amp; pull request</code>的提示</li>
<li>base username&#x2F;barnch &lt;- 提交人的仓库&#x2F;branch3 选择好谁的哪个分支到 base 的哪个分支</li>
<li>填写备注信息 -&gt; 点击 Create pull request 按钮</li>
<li>原作者的<code>pull requests</code>标签中就多出来刚刚的提交，点进去 Converseation 点击 Merge pull request 通过请求</li>
<li>自己项目可以这样通过 gui 合并，但是自己的可以直接在项目中合并</li>
</ul>
<h3 id=""><a href="#" class="headerlink" title=""></a></h3></li>
</ul>
<h3 id="终端文件管理器-ranger"><a href="#终端文件管理器-ranger" class="headerlink" title="终端文件管理器 ranger"></a>终端文件管理器 ranger</h3><p>基础操作</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">vim 快捷键 上下左右</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">退出：q 、<span class="built_in">shift</span>+S</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">功能：</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">  常用 =&gt; 复制(yy) 粘贴(pp) 覆盖(po) 剪切(<span class="built_in">dd</span>) 删除(dD) 复制路径(yp) 查看文件大小(dU)</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">      =&gt; 多选(v) 任务管理器(w) 显示隐藏(zh) 指定打开文件方式(r)</span></span><br><span class="line"><span class="meta prompt_">#</span><span class="language-bash"></span></span><br><span class="line"><span class="language-bash"><span class="comment">#	排序 =&gt; 按大小(os)  按名称(on) 按修改日期(oc)</span></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">  搜索 =&gt; 符号(/)  按 n/N 查找下一个/上一个</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">  书签 =&gt; 创建(m + key) 打开(`) 删除(um)</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">  命令 =&gt; 符号(:cmmder)</span></span><br><span class="line"><span class="meta prompt_">#</span><span class="language-bash">		=&gt; `!`: `:shell`快捷键，更多shell命令,:shell <span class="built_in">mv</span> dir1 dir2, %s 代表选择的文件</span></span><br><span class="line"><span class="meta prompt_">#</span><span class="language-bash"></span></span><br><span class="line"><span class="language-bash"><span class="comment">#   默认目录 =&gt; 家目录(gh) 根目录(gr)</span></span></span><br><span class="line"><span class="meta prompt_">#</span><span class="language-bash"></span></span><br><span class="line"><span class="language-bash"><span class="comment">#   重命名 =&gt; 单文件 cw</span></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">        =&gt; 批量命名 V或空格多选 &gt; :bulkrename 进入vim编辑 &gt; 修改保存退出</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">        =&gt; 批量操作 ctrl+v 选择行数，(<span class="built_in">shift</span>+i/a/o)进入插入模式，修改，esc</span></span><br><span class="line"><span class="meta prompt_">#</span></span><br></pre></td></tr></table></figure>

<ul>
<li><p>标签(窗口)</p>
<ul>
<li><code>gn|ctrl+n</code>:创建</li>
<li><code>gt|gT</code>:切换</li>
<li><code>gc|ctrl+w</code>:关闭 eeep</li>
</ul>
</li>
<li><p>配置文件夹<code>~/.config/ranger</code></p>
<ul>
<li>如果要用自己的配置文件,环境变量设置: RANGER_LOAD_DEFAULT_RC&#x3D;FALSE</li>
<li><code>ranger --copy-config=all</code>:生成配置文件</li>
<li>插件<ul>
<li><a target="_blank" rel="noopener" href="https://github.com/ranger/ranger">GitHub</a> -&gt; wike -&gt; 右侧 plugins,安装插件</li>
</ul>
</li>
<li>添加方法<ul>
<li>wike -&gt; 右侧 Custom Commands -&gt;复制到配置文件<code>commands.py</code> -&gt; <code>rc.conf</code>添加快捷键</li>
</ul>
</li>
<li><code>rc.conf</code>:配置<ul>
<li><code>set vcs_aware true</code>:显示 git 状态符号</li>
<li><code>set preview_已经写死了，需images true &amp;&amp; set preview_images_method w3m</code>:用 w3m 预览图片(需要安 w3m)</li>
<li><code>map f console scout -ftsea%space</code>:f 搜索 X</li>
</ul>
</li>
</ul>
</li>
<li><p>修改默认文本编辑器</p>
<ul>
<li>echo export EDITOR&#x3D;&#x2F;usr&#x2F;bin&#x2F;vim &gt;&gt; ~&#x2F;.bashrc</li>
<li>echo export EDITOR&#x3D;&#x2F;usr&#x2F;bin&#x2F;vim &gt;&gt; ~&#x2F;.zshrc</li>
</ul>
</li>
</ul>
<h4 id="Root-预览异常"><a href="#Root-预览异常" class="headerlink" title="Root 预览异常"></a>Root 预览异常</h4><p>默认情况下 root 账号是不能预览的,注释 python 源码</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">/usr/local/lib/python3.6/site-packages/ranger/core/main.py</span></span><br><span class="line">if fm.username == &#x27;root&#x27;:</span><br><span class="line">    fm.settings.preview_files = False</span><br><span class="line">    fm.settings.use_preview_script = False</span><br><span class="line">    LOG.info(&quot;Running as root, disabling the file previews.&quot;)</span><br><span class="line"></span><br></pre></td></tr></table></figure>

<h3 id="ncdu"><a href="#ncdu" class="headerlink" title="ncdu"></a>ncdu</h3><blockquote>
<p>类似 ranger，有 du 功能</p>
</blockquote>
<h3 id="终端模拟器"><a href="#终端模拟器" class="headerlink" title="终端模拟器"></a>终端模拟器</h3><ul>
<li>edex-ui</li>
</ul>
<h3 id="man-汉化"><a href="#man-汉化" class="headerlink" title="man 汉化"></a>man 汉化</h3><p><a target="_blank" rel="noopener" href="https://www.cnblogs.com/yanans/p/11990603.html">参考</a></p>
<p>1、debian</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sudo apt update</span><br><span class="line">sudo apt install manpages-zh</span><br></pre></td></tr></table></figure>

<p>2、arch</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">pacman -Syu</span><br><span class="line">pacman -S man-pages-zh_cn man-pages-zh_tw</span><br></pre></td></tr></table></figure>

<p>3、centos</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">yum update</span><br><span class="line">yum install man-pages-zh-CN</span><br></pre></td></tr></table></figure>

<p>4、Fedora</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">dnf update</span><br><span class="line">dnf install man-pages-zh-CN</span><br></pre></td></tr></table></figure>

<p>map 或 cmap</p>
<h3 id="主目录默认功能文件夹位置设置-如桌面"><a href="#主目录默认功能文件夹位置设置-如桌面" class="headerlink" title="主目录默认功能文件夹位置设置(如桌面)"></a>主目录默认功能文件夹位置设置(如桌面)</h3><p><code>vim ~/.config/user-dirs.dirs</code></p>
<h3 id="版本更新报错"><a href="#版本更新报错" class="headerlink" title="版本更新报错"></a>版本更新报错</h3><p>1.首先更新一下密钥，如果没有安装 archlinux-keyring,请及时安装<br>sudo pacman -Syy &amp;&amp; sudo pacman -S archlinuxcn-keyring</p>
<p>sudo pacman-key –refresh-keys 2.重新加载相应的签名密钥<br>sudo pacman-key –init<br>sudo pacman-key –populate<br>3。清除 pacman 的缓冲文件<br>sudo pacman -Scc 4.更新或者安装系统即可<br>sudo pacman -Syu || sudo pacman -Syudd(-dd 跳过全部检测)_</p>
<h2 id="常用软件"><a href="#常用软件" class="headerlink" title="常用软件"></a>常用软件</h2><h3 id="我的服务"><a href="#我的服务" class="headerlink" title="我的服务"></a>我的服务</h3><ul>
<li><code>copyq</code>:剪切板管理工具<a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/356994435">参考</a></li>
<li><code>lrzsz</code>:虚拟机文件上传下载</li>
<li><code>ydcv-rs|node-fanyi</code>:终端直接翻译程序</li>
<li><code>vsftpd</code>:作用:使远程通过 ftp 上传下载 web 服务</li>
<li><code>bat</code>:美化 cat 的文本内容</li>
<li><code>at</code>:计划任务</li>
<li><code>dstat</code>:强大的检测工具</li>
<li><code>nmon</code>:系统资源监控</li>
<li><code>xdroid</code>:linux 使用安卓软件</li>
<li><code>keepassXC</code>:密码管理器</li>
<li><code>flowblade</code>:视频剪辑软件</li>
<li><code>variety</code>:壁纸</li>
<li><code>flareget</code>:下载器</li>
<li><code>baobab</code>:磁盘使用情况图形化分析</li>
<li><code>netease-cloud-music</code>:网易云</li>
<li><code>notepad++</code>:编辑轻量脚本代码</li>
<li><code>dia</code>:linux 流程图软件</li>
<li><code>ncdu</code>:统计指定文件下文件大小，通过数的方式</li>
<li><code>ack</code>:类似 grep 查找文件内容的功能</li>
<li><code>tldr cmd</code>:指令帮助简化文档，并添加场景用法举例,与<strong>kmdr</strong>功能类似</li>
<li><code>colorls|exa</code>:ls 指令加强版(gem install colorls),colors 通过 ruby 安装</li>
<li><code>caniuse-cmd</code>:检查浏览器兼容性(npm 安装)</li>
<li><code>thefuck</code>:操作错误时，执行该命令，会告诉你为什么错<ul>
<li>sudo pip3 install thefuck python 安装</li>
</ul>
</li>
<li><code>multitail|lnav|tial -f|cat...</code>:日志</li>
<li><code>jq</code>:linux 终端查看，格式化 json <code>echo &#39;&#123; &quot;no&quot;: &quot;bueno&quot; &#125;&#39; | jq &quot;.&quot;</code></li>
<li><code>mycli</code>:终端 mysql 工具</li>
<li><code>httpie</code>:终端数据请求获取 <code>http -v github.com</code></li>
<li><code>fpp(PathPicker)</code>:终端多文件操作，f|A,选择，回车默认编辑器打开,c 指令操作已选择</li>
<li><code>rich</code>:<code>pip3</code>安装，针对 py 的颜色输出美化</li>
<li><code>xargs</code>:管道前面标准输出，有些命令不能直接把输出当做自己的输入，可以用 xargs</li>
<li><code>bat</code>:<code>cat</code>加强班，高亮代码</li>
<li><code>ripgrep</code>:可 rg 指令代替 grep，速度快</li>
<li><code>cmus</code>:终端音乐播放</li>
<li><code>tmate</code>:将终端共享给别人</li>
<li><code>howdio</code></li>
<li><code>ag(the_silver_searcher)</code>:搜索工具</li>
<li><code>nvm</code></li>
<li><code>ascii</code>:ascii 表</li>
<li><code>curl cht.sh</code>:疑问查询 (curl cht.sh&#x2F;js&#x2F;class 指令&#x2F;语言命名空间&#x2F;功能)</li>
<li><code>curl &quot;wttr.in/福州?lang=zh&quot;</code>:天气预报</li>
<li><code>aria2</code>:下载工具</li>
<li><code>FreeFileSync</code>: <a target="_blank" rel="noopener" href="https://freefilesync.com/">数据备份软件</a></li>
<li><code>nmon</code>:监控当前系统性能</li>
<li>plank || latte-dock</li>
<li>实时资源监控插件 conky</li>
</ul>
<h3 id="网上存储"><a href="#网上存储" class="headerlink" title="网上存储"></a>网上存储</h3><ul>
<li><p>yay -S vlc #视频播放器</p>
</li>
<li><p>yay -S mpv #视频播放器</p>
</li>
<li><p>yay -S gimp #图像编辑器</p>
</li>
<li><p>yay -S redshift #红移</p>
</li>
<li><p>yay -S haroopad #markdown 编辑器</p>
</li>
<li><p>yay -S Typora #markdown 编辑器</p>
</li>
<li><p>yay -S freeMind #思维图</p>
</li>
<li><p>yay -S pspp #spss</p>
</li>
<li><p>yay -S uget #下载工具</p>
</li>
<li><p>yay -S qbittorrent #BT 下载</p>
</li>
<li><p>yay -S zotero #文献管理软件</p>
</li>
<li><p>yay -S filezilla #FTP 工具</p>
</li>
<li><p>yay -S filelight #磁盘使用空间</p>
</li>
<li><p>yay -S hardinfo Extraterm#硬件检测工具</p>
</li>
<li><p>yay -S acroread #pdf 阅读</p>
</li>
<li><p>yay -S pdfsam #pdf 编辑</p>
</li>
<li><p>yay -S masterpdfeditor #pdf 阅读编辑</p>
</li>
<li><p>yay -s deepin-wine</p>
</li>
<li><p>yay -S deepin-wine-tim #TIM</p>
</li>
<li><p>yay -S deepin-screenshot #截屏软件</p>
</li>
<li><p>sl</p>
</li>
<li></li>
</ul>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="http://example.com">lzoxun</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="http://example.com/2023/07/22/linux/linux-manjaro/">http://example.com/2023/07/22/linux/linux-manjaro/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://example.com" target="_blank">学习笔记</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"></div><div class="post_share"><div class="social-share" data-image="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2023/07/22/linux/linux-vimscript/" title="vimscript"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">vimscript</div></div></a></div><div class="next-post pull-right"><a href="/2023/07/22/linux/linux-nginx/" title="nginx"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">nginx</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">lzoxun</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/liaozhongxun"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/liaozhongxun" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:869664233@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">这是我的文档</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%93%8D%E4%BD%9C"><span class="toc-number">1.</span> <span class="toc-text">操作</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%B8%B8%E7%94%A8%E5%8A%9F%E8%83%BD"><span class="toc-number">1.1.</span> <span class="toc-text">常用功能</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%BF%AB%E6%8D%B7%E5%81%A5"><span class="toc-number">1.2.</span> <span class="toc-text">快捷健</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#manjaro-%E7%9A%84%E6%8C%87%E4%BB%A4"><span class="toc-number">2.</span> <span class="toc-text">manjaro 的指令</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%96%B0%E6%9C%BA%E9%85%8D%E7%BD%AE"><span class="toc-number">3.</span> <span class="toc-text">新机配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%85%8D%E7%BD%AE%E6%BA%90"><span class="toc-number">3.1.</span> <span class="toc-text">配置源</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%90%9C%E7%8B%97%E8%BE%93%E5%85%A5%E6%B3%95"><span class="toc-number">3.2.</span> <span class="toc-text">搜狗输入法</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#oh-my-zsh-%E7%BB%88%E7%AB%AF%E7%BE%8E%E5%8C%96"><span class="toc-number">3.3.</span> <span class="toc-text">oh-my-zsh 终端美化</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F"><span class="toc-number">3.4.</span> <span class="toc-text">安装程序</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#wifi-%E8%AE%BE%E7%BD%AE"><span class="toc-number">3.5.</span> <span class="toc-text">wifi 设置</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%B8%8E-window-%E5%85%B1%E4%BA%AB"><span class="toc-number">3.6.</span> <span class="toc-text">与 window 共享</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%A4%96%E6%8E%A5%E8%AE%BE%E5%A4%87"><span class="toc-number">3.7.</span> <span class="toc-text">外接设备</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%90%AF%E5%8A%A8%E9%A1%B9"><span class="toc-number">3.8.</span> <span class="toc-text">启动项</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%BF%AB%E6%8D%B7%E6%9C%8D%E5%8A%A1"><span class="toc-number">3.9.</span> <span class="toc-text">快捷服务</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%85%A8%E5%B1%80%E8%8F%9C%E5%8D%95"><span class="toc-number">3.10.</span> <span class="toc-text">全局菜单</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Albert-%E6%90%9C%E7%B4%A2%E6%8F%92%E4%BB%B6"><span class="toc-number">3.11.</span> <span class="toc-text">Albert 搜索插件</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%B7%BB%E5%8A%A0%E4%B8%BB%E9%A2%98"><span class="toc-number">3.12.</span> <span class="toc-text">添加主题</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#screenfetch"><span class="toc-number">3.13.</span> <span class="toc-text">screenfetch</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#fzf-%E5%85%A8%E5%B1%80%E6%90%9C%E7%B4%A2%E6%8F%92%E4%BB%B6%E5%8F%82%E8%80%83"><span class="toc-number">3.14.</span> <span class="toc-text">fzf 全局搜索插件参考</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#tmux-%E7%BB%88%E7%AB%AF%E5%A4%8D%E7%94%A8"><span class="toc-number">3.15.</span> <span class="toc-text">tmux 终端复用</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#tmux-%E6%8F%92%E4%BB%B6%E7%AE%A1%E7%90%86"><span class="toc-number">3.15.1.</span> <span class="toc-text">tmux 插件管理</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#seahorse"><span class="toc-number">3.16.</span> <span class="toc-text">seahorse</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#autojump-%E5%BF%AB%E9%80%9F%E8%BF%9B%E5%85%A5%E6%90%9C%E7%B4%A2%E5%88%B0%E7%9A%84%E7%9B%AE%E5%BD%95"><span class="toc-number">3.17.</span> <span class="toc-text">autojump 快速进入搜索到的目录</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#lazygit"><span class="toc-number">3.18.</span> <span class="toc-text">lazygit</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF-%E5%B7%A6%E5%8F%B3%E6%88%96-HL-%E6%88%96-tab-%E9%94%AE%E5%88%87%E6%8D%A2%E9%9D%A2%E6%9D%BF"><span class="toc-number">3.18.1.</span> <span class="toc-text">面板(左右或 HL 或 tab 键切换面板)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF%E4%B8%80-Status"><span class="toc-number">3.18.2.</span> <span class="toc-text">面板一(Status)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF%E4%BA%8C-Files-%E6%96%87%E4%BB%B6%E9%9D%A2%E6%9D%BF"><span class="toc-number">3.18.3.</span> <span class="toc-text">面板二(Files 文件面板)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF%E4%B8%89-Local-Branschs-%E5%88%86%E6%94%AF%E9%9D%A2%E6%9D%BF"><span class="toc-number">3.18.4.</span> <span class="toc-text">面板三(Local Branschs 分支面板)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF%E5%9B%9B-Commits-%E6%8F%90%E4%BA%A4%E7%89%88%E6%9C%AC%E7%AE%A1%E7%90%86"><span class="toc-number">3.18.5.</span> <span class="toc-text">面板四(Commits 提交版本管理)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9D%A2%E6%9D%BF%E4%BA%94-Status"><span class="toc-number">3.18.6.</span> <span class="toc-text">面板五(Status)</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E6%93%8D%E4%BD%9C-1"><span class="toc-number">3.18.7.</span> <span class="toc-text">操作</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link"><span class="toc-number">3.19.</span> <span class="toc-text"></span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BB%88%E7%AB%AF%E6%96%87%E4%BB%B6%E7%AE%A1%E7%90%86%E5%99%A8-ranger"><span class="toc-number">3.20.</span> <span class="toc-text">终端文件管理器 ranger</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Root-%E9%A2%84%E8%A7%88%E5%BC%82%E5%B8%B8"><span class="toc-number">3.20.1.</span> <span class="toc-text">Root 预览异常</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#ncdu"><span class="toc-number">3.21.</span> <span class="toc-text">ncdu</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BB%88%E7%AB%AF%E6%A8%A1%E6%8B%9F%E5%99%A8"><span class="toc-number">3.22.</span> <span class="toc-text">终端模拟器</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#man-%E6%B1%89%E5%8C%96"><span class="toc-number">3.23.</span> <span class="toc-text">man 汉化</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%B8%BB%E7%9B%AE%E5%BD%95%E9%BB%98%E8%AE%A4%E5%8A%9F%E8%83%BD%E6%96%87%E4%BB%B6%E5%A4%B9%E4%BD%8D%E7%BD%AE%E8%AE%BE%E7%BD%AE-%E5%A6%82%E6%A1%8C%E9%9D%A2"><span class="toc-number">3.24.</span> <span class="toc-text">主目录默认功能文件夹位置设置(如桌面)</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0%E6%8A%A5%E9%94%99"><span class="toc-number">3.25.</span> <span class="toc-text">版本更新报错</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6"><span class="toc-number">4.</span> <span class="toc-text">常用软件</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%88%91%E7%9A%84%E6%9C%8D%E5%8A%A1"><span class="toc-number">4.1.</span> <span class="toc-text">我的服务</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BD%91%E4%B8%8A%E5%AD%98%E5%82%A8"><span class="toc-number">4.2.</span> <span class="toc-text">网上存储</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-11/" title="win 11 set">win 11 set</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-gitbash/" title="git bash">git bash</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-wsl/" title="wsl">wsl</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-main/" title="window">window</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/web/%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98/" title="兼容问题">兼容问题</a><time datetime="2023-07-22T07:14:09.699Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By lzoxun</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><div class="js-pjax"></div><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div class="no-result" id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"log":false,"model":{"jsonPath":"/live2dw/assets/haruto.model.json"},"display":{"position":"right","width":100,"height":200,"right":300},"mobile":{"show":true}});</script></body></html>